package com.probiz.estore.system.dao;

import java.util.List;

import com.probiz.estore.common.model.system.SelfCollectionCentre;
import com.probiz.estore.core.dao.GenericDao;
/**
 * Dao interface for SelfCollectionCentre.
 */
public interface SelfCollectionCentreDao extends GenericDao<SelfCollectionCentre> {
	/**
	 * 获得所有激活的自提点
	 * @return
	 */
	public List<SelfCollectionCentre> findActiveSelfCollectionCentres();
	/**
	 * 判断是否已存在此自提点
	 * @param selfCollectionCentre
	 * @return
	 */
	public boolean isExistedSelfCollectionCentreForUpdate(final SelfCollectionCentre selfCollectionCentre);
	
	/**
	 * 根据该地区的提货中心
	 * @param regionId
	 * @return
	 */
	public List<SelfCollectionCentre> getSelfCollectionCentreListByRegionId(Integer regionId);
}